package jmine.tec.persist.schema.impl.elements;

import org.hibernate.cfg.Configuration;
import org.hibernate.mapping.PersistentClass;

/**
 * Dados necessários para processamento de tabela.
 * 
 * @author lundberg
 */
public class TableProcessingBean {
    private final Configuration configuration;

    private final PersistentClass persistentClass;

    /**
     * Construtor
     * 
     * @param configuration configuration
     * @param persistentClass persistentClass
     */
    public TableProcessingBean(Configuration configuration, PersistentClass persistentClass) {
        this.configuration = configuration;
        this.persistentClass = persistentClass;
    }

    /**
     * @return the configuration
     */
    public Configuration getConfiguration() {
        return this.configuration;
    }

    /**
     * @return the persistentClass
     */
    public PersistentClass getPersistentClass() {
        return this.persistentClass;
    }
}
